package com.fh.shop.api.util;


public class KeyUtil {
    public static String regCodeKey(String phone){
        return "sms:reg:"+phone;
    }

    public static String memberKey(Long id){
        return "member:"+id;
    }

    public static String CartKey(Long id){
        return "cart:member:"+id;
    }

    public static String ActivaKey(String uuid){
        return "member:activa:"+uuid;
    }

    public static String addrKey(Long memberId){
        return "member:"+memberId+":address";
    }

    public static String tokenKey(String uuid){
        return "token:uuid:"+uuid;
    }
}
